﻿*,
*::before,
*::after {
    box-sizing: border-box;
}


.m-honeycomb-cell__border:hover {
    background-color:lightsalmon !important;
}
.m-honeycomb-cell-normal__border:hover {
    background-color:#05CD99 !important;
}
.m-honeycomb-cell-warning__border:hover {
    background-color:#FF7D00 !important;
}
.m-honeycomb-cell-error__border:hover {
    background-color:#FF5252 !important;
}

.m-honeycomb-cell__border-parent {
    /*filter: url('#goo');*/
    /*overflow: hidden;
    position: fixed;
    right: -50px;*/
    /* margin-top: 2vw;*/
    /*z-index: -2*/
}

.m-honeycomb-cell__border-parent,
.m-honeycomb-cell-parent {
    filter: url('#goo');
    /*overflow: hidden;
position: fixed;
right: -50px;*/
    /* margin-top: 2vw;*/
    z-index: -2;
    margin-top: -28px;
}

.m-honeycomb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    /* justify-content: center; */
    align-items: center;
    margin: 0 auto;
    padding: 0;
    transform: translateY(34.375px);
}

.m-honeycomb-cell {
    flex: 0 1 180px;
    width: 180px;
    height: 100px;
   /* margin: 40.5px 10px 26px;*/
    position: relative;
    padding: 0.5em;
    text-align: center;
    z-index: 1;
}

.m-honeycomb-cell__back {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.m-honeycomb-cell::before,
.m-honeycomb-cell::after {
    content: "";
}


.m-honeycomb-cell__back {
    top:5px;
    left: 5px;
    width: 100%;
    height: 200%;
    display: block;
    position: absolute;
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -1;
}

.m-honeycomb-cell::before,
.m-honeycomb-cell::after {
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    display: block;
    position: absolute;
    transform: scale(1.055);
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -2;
}

.m-honeycomb-cell-nomal:before,
.m-honeycomb-cell-nomal:before {
    background: #E6FAF5;
}

.m-honeycomb-cell-warning:before,
.m-honeycomb-cell-warning:before {
    background: #FFE4BA;
}

.m-honeycomb-cell-error:before,
.m-honeycomb-cell-error:before {
    background: #FDCDC5;
}


.m-honeycomb-cell__border {
    width: 190px;
    height: 210px;
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -2;
  /*  padding: 4px;*/
    margin: 7px;
}

.m-honeycomb-cell__border-normal {
    background: #CDF5EB
}

.m-honeycomb-cell__border-warning {
    background: #FFE4BA
}

.m-honeycomb-cell__border-error {
    background: #FDCDC5
}

    .m-honeycomb-hover-cell::after {
        background: #3ea0eb;
        opacity: 0.5;
        transition: opacity 350ms;
    }

.m-honeycomb-hover-cell:hover .m-honeycomb-cell__front {
    opacity: 0;
}

.m-honeycomb-hover-cell:hover::before {
    background: #72f88e;
}

.m-honeycomb-hover-cell:hover::after {
    opacity: 0;
}

.m-honeycomb__placeholder {
    display: none;
    opacity: 0;
    width: 250px;
    margin: 0 12.5px;
}

/*nth-child*/
@media (max-width: 1060px) {
    .m-honeycomb {
        max-width: 320px;
    }
    .m-honeycomb-cell__border-parent:nth-of-type(4n) {
        margin-left: 104px;
    }
}

@media (min-width: 1061px) and (max-width: 1376px) {
    .m-honeycomb {
        max-width: 420px;
    }
    .m-honeycomb-cell__border-parent:nth-of-type(3n) {
        margin-left: 104px;
        margin-right: 105px;
    }
}

@media (min-width: 1377px) and (max-width: 1586px) {
    .m-honeycomb {
        max-width: 630px;
    }
    .m-honeycomb-cell__border-parent:nth-of-type(10n-2) {
        margin-left: 104px;
    }
    .m-honeycomb-cell__border-parent:nth-of-type(10n) {
        margin-right: 105px;
    }
}

@media (min-width: 1587px) and (max-width: 1896px) {
    .m-honeycomb {
        max-width: 840px;
    }
    .m-honeycomb-cell__border-parent:nth-of-type(14n-4) {
        margin-left: 104px;
    }
    .m-honeycomb-cell__border-parent:nth-of-type(14n) {
        margin-right: 105px;
    }
}

@media (min-width: 1897px) {
    .m-honeycomb {
        max-width: 1050px;
    }
    .m-honeycomb-cell__border-parent:nth-of-type(18n-6) {
        margin-left: 104px;
    }
    .m-honeycomb-cell__border-parent:nth-of-type(18n) {
        margin-right: 105px;
    }
}
